<template>
  <div> 这是父组件
    {{ num }}
    <!-- <son :value="num" @yx="num++" /></son> -->
    <!-- <input v-model="num" type="text"> -->
    <!-- <son v-model="num" /> -->
    <son :value.sync="num" :value2.sync="num2" />
  </div>

</template>

<script>
import son from './son.vue'
export default {
  components: { son },
  data() {
    return {
      num: 100,
      num2: 200
    }
  }
}
</script>

<style>

</style>
